import logging
def log():
    s = logging.basicConfig(level=logging.DEBUG, format="%(filename)s -> %(levelname)s -> %(asctime)s",
                            filename="tes.log", filemode="a")
    return s


